import java.io.*;

public class RepetitionJudgement {
	
	static int jx;
	static int jy;
	static int line;
	static int max;
	
	public void judgement() throws Exception {
		File fs=new File("setup\\settings.ini");
		File fc=new File("Nctmp\\nctmp.nctc");
		FileInputStream fiss=new FileInputStream(fs);
		InputStreamReader isrs=new InputStreamReader(fiss);
		BufferedReader brs=new BufferedReader(isrs);
		jx=Integer.parseInt(brs.readLine());
		jy=Integer.parseInt(brs.readLine());
		max=Integer.parseInt(brs.readLine());
		if(jx*jy<max) {
			max=jx*jy;
		}
		FileInputStream fisc=new FileInputStream(fc);
		InputStreamReader isrc=new InputStreamReader(fisc);
		BufferedReader brc=new BufferedReader(isrc);
		line=0;
		while(brc.readLine()!=null) {
			line++;
		}
		Run r=new Run();
		r.framerunning();
	}
}
